package com.tencent.backstage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_chapter")
public class Chapter {

    @Id
    @Column(name = "id")
    private int id;

    @Column(name = "chapter_name")
    private String chapterName;

    @Column(name = "chapter_details")
    private String chapterDetails;

    @Column(name = "course_id")
    private String courseId;
}
